#pragma once
#include "hge.h"  
#include "hgeSprite.h"  
#include "hgefont.h"
#include "hgegui.h"
#include "hgeguictrls.h"
#include "Role.h"
#include "hgeanim.h"
#include"Map.h"
#include"MyGuiObject.h"
#include"CGuiManager.h"
#include"ObjectManager.h"
#include<iostream>
#include<string>
using namespace std;
class Map;
class Role;
class ObjectManager;
class CGuiManager;
class UseCards;
class network;
class Cards{
public:
	ObjectManager*	Omgr;
	CGuiManager*	Gmgr;
	network* net;
	bool			finished;
	Cards(){}
	virtual void Initial(ObjectManager* omgr,CGuiManager*	gmgr,network* n);
	virtual void Update();
	virtual void Render();
	virtual void leave();
};
class CardBack:public Cards{
public:
	int frames;
	CardBack(){}
	virtual void Initial(ObjectManager* omgr,CGuiManager*	gmgr,network* n);
	virtual void Update();
	virtual void Render();
	virtual void leave();
};
class CardOwnPlace:public Cards{
public:
	int frames;
	CardOwnPlace(){}
	virtual void Initial(ObjectManager* omgr,CGuiManager*  gmgr,network* n);
	virtual void Update();
	virtual void Render();
	virtual void leave();
};
class CardStealHouse:public Cards{
public:
	int frames;
	CardStealHouse(){}
	virtual void Initial(ObjectManager* omgr,CGuiManager*  gmgr,network* n);
	virtual void Update();
	virtual void Render();
	virtual void leave();
};
class CardChange:public Cards{
public:
	int frames;
	CardChange(){}
	virtual void Initial(ObjectManager* omgr,CGuiManager*  gmgr,network* n);
	virtual void Update();
	virtual void Render();
	virtual void leave();
};
class CardStealBike:public Cards{
public:
	int frames;
	CardStealBike(){}
	virtual void Initial(ObjectManager* omgr,CGuiManager*  gmgr,network* n);
	virtual void Update();
	virtual void Render();
	virtual void leave();
};
class CardBuild:public Cards{
public:
	int frames;
	CardBuild(){}
	virtual void Initial(ObjectManager* omgr,CGuiManager*  gmgr,network* n);
	virtual void Update();
	virtual void Render();
	virtual void leave();
};